any

inline fun any(predicate: (L) -> Boolean): Boolean

Returns the result of applying the predicate to the value if this is Left or false if this is Right.

Return

The result of applying the predicate to the value if this is Left or false if this is Right.

Parameters

predicate

Predicate function.